﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class r : System.Web.UI.Page
    {
        string EQID = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            EQID = Request["i"].Trim().ToString();
            //判断是否为微信浏览器
            string userAgent = Request.UserAgent;
if (userAgent.ToLower().Contains("micromessenger"))
{

    Response.Redirect("http://www.cmuam.site/EQInfo.aspx?i=" + EQID, false);
}
else
{
    Response.Redirect("http://www.cmuam.site/Add_RP3.aspx?i=" + EQID, false);
}


         
        }
    }
}